First implementation of basic layout