Moved struct to util.h, added print function for struct