Improved javadoc
Improved documentation
Fixed bug where Repository could not be extended