set auto layout constraints, add basic layout