Simplify app structure by maintaining a top level object containing endpoints and views