Made a bunch of small fixes
Added a simple Flask application