Added create_app. Database models use peewee proxy. Model moved in to app side instead blueprints.