DRY application layout