Fixed classpath resource repository and added builder
Allowed a base directory to be set for jcloud repositories