set up model classes except controller