Initial peewee code to back the database connection