Convert to rails, cleanup

Various cleanup in html files
Convert to Rails + layouts
Add scaffolds (though unused atm)