Add Flask application with 'stub' server API
Add switch (-d or --debug) for debug mode