implemented ability to save
added working top-level save and new buttons, added a 404 page