extract out convertPathStringToFullyQualifiedClassname logic
refactor code so that I could create tests; currently the tests fails (showing the bug)
correct the code to correctly convert pathstring into fullyqualifiedclassname