Added first layout, and method to render templates