Revert "refactored code"

This reverts commit 57ef697d435cf67874ad929d0624c0e9f34110d0.
refactored code to convert return type of the executed method
created conversion utililty
new test source file for class with package name
removed unwanted dependencies