Added simple first JUnit test.
added simple view stats page.