converted all html views to haml, added references in models