Storing and loading stuff for mainviewcontroller