Command and State model classes added.