added unit tests
added a new helper
finish layout and routes