model classes done and database testing implementted