Creating Flask API app structure