Moved layout and main page to haml