Reorganize and cleanup config
Use blueprints for routes
Use Flask-Script for for CLI tools
Rename things in test
Linting fixes