Add a couple of features:

- Delete class by name rather than by index
- Add a new class

Change-Id: I27e75d5389fb2905a0757e18c5dedad7bc4cabc4