Controller and Main Model