Create util.h

Need to update the inputs to the methods.