Adding basic layout, setting up guard.