Adding util file and started some basic util functions