Initial commit with some test scripts.
Refactored some of the go routines.