change to Ruby 1.9-style hash
finish layout and routes
deleted public index