Added jdoc comments and some methods to repositories