adds new routes, changes links, converts html to haml