spread the classPath finding to a seperate class