restructure code to accommodate for go get
ensure the makefile picks up main.go
add some docs