Add a title helper
Change to Ruby 1.9-style syntax
finish layout and routes