Mvc structure

- Large restructuring of database connection to use sqlalchemy
- Split into smaller modules for each model, controller
- Importer for csv data using sqlalchemy models,
- frontend fixes