Start separating out logic out of the viewcontroller into custom objects