update readme, clean-up go code