Big cleanup by making an Utils class

Signed-off-by: Darkrulerz <Dark_rulerz@hotmail.com>
Last chunk of cleanup, ready to merge!