Created model from database, also created database for survey system