Refactored all the Go code into its own project.