Added constructor for classpath url