initial commit
small cleanups
added docstrings and other small cleanups
small cleanups