separated layout from theme namespace loading