No need to save documents permanently serverside. Should use Smarty templates, file structure will be given upon starting.
Previous freelancer managed to do part of the work:
... C) The code is very messy, it needs to be cleaned up and integrated with a basic site structure that I will send you (it is Smarty with php).
The work of first freelancer is attached.