seperated utils functions into header and source files
cleaned up dependencies