Moved StateModelDefinitionBuilder out of StateModel and moved StateTransitionTableBuilder out of api