Split layout out into separate file