basic layout for main shell; stub functions included