added javadoc
added javadoc
changed parameter type for setBasePath