Some documentation added, code cleaned up and improved slightly.  Probably the last commit for 0.1