Added old work in progress that i found. I think i was planning a rewrite in better Go style.