Utils class created. Some methods moved to the new Utils class.