Create parser.go

Initial commit, http worker omitted as it is being developed separately.