Added support for HEAD tag - prevent 404 errors
added new config feature "formats" which allows using the same route with different types (json, html, xml)