split util file up. make things into objects. typedef my structs.