moved visitor helper files to packages.
errors no longer trigger exceptions, refectoring is needed here.
test suite created for the test cases