Add condition to not double initialize repository.

- Also did some small refactoring (method renaming)
Add test for JBoss.org generated DOAP.

- More refactoring
- Add CLRunner