changed layout file to haml and added header