created database, and models