1st pass cleanup and test coverage

Overall cleanup on the package, specifically API got alot of love,
changed around some classes as well as some new and upgrades functions
in apiUtils.  Because of these systemic changes lots of little changes
needed to happen throughout the package.
Started a DTL_test module and started blocking out the tests framework.
API module has lots of test coverage now but probably not 100%.