Implemented saving projects

Code is CRAP