Bootstraping the Flask app

Also adding setup.cfg and fixing pep8 errors