replaced layout and homepage erb files with haml