made some html changes and ruby structure changes