Abstract html/template, Add support for amber files

if a layout file ends with .amber it will interpreted as a Amber file