Made independent from yii-qa-state and yii-relational-graph-db