Downsize Utility.php

Remove functions out from utility.php and placed them in a more
organized structure