more mvc like app structure