starting to cleanup/update
added unit test class to eventually replace testcache.py
updating interface for mock os and mock stack environment
added docstring stubs and cleaned up some