Partial HTML rendering and layout template
Added special casing in router for giving the index template if client accepts html when no resource is given