defined models and modifiedd views
configured sqlalchemy
updated database files
fixed database errors