Set controller logic, need to set views