Changing groupId and Maven site projectId.
Refactoring for testability and adding tests.