finish and structure models class, and add view and cotroller structure