Added struct functions to code base in utilities folder