Added application layouts to templates