Added the State class, incomplete without the Metadata class which contains the metadata for child States
Documented the State class