create models for database
setting up of database connections