added index template, changed wrapper from erb to haml