added some unit tests and mocks, fixed pom.xml, added basic usage to README