Added capybara and rack test methods
Added rack environment as test
Setup tests
Some refactoring and more tests
added navagation bar to layout