Added saving of files and creating of basic file structure