minor update

rewritten the system to save files
removed all ajax requests, only pure php