Restructured application (Blueprints, Flask-Testing, application factory). First production version