Redisgned the add Class Dialog. Also added a color chooser for the classObject.