Refactor pom.xml file: dynamic web recognition, add missing dependencies
Add basic unit test
updated fork using the original repo