Console app structure