Register layouts separately before creating app