cleaned up
API app structure and basic test