Classes

Now Transition, State, Label are three classes.