cleanup comments and code
add godoc file
fixed copy function
cleaning up comments
cleaning up code and comments
cleaning up comments
fixed copying errors. Added debug statements. Cleaned up comments