Add Capability and State class (refs #79)