saner handling of go()
major reorganization
Merge pull request #9 from lukechampine/reorg

Code reorganization