Added custom creativetab and cleaned up code.