Split game up into view and model