Saves positions of objects (saving of pages still hardcoded for now). Applies necessary changes to database structure.