configure database, add data models