refactored backend into api and auth blueprints, models and tools modules.  wrote out most api endpoints and full test coverage for all completed api endpoints