Refactored out util.go file.
Lines made narrower.