converted views and layout to haml