Finished writing javadoc.
Minor refactoring, change of the file repository type.