Rename Template to Layout and instantiate it in Application