refactored model out of view controller