Modified num_id generate method, added class cid
Merge branch 'master' of https://github.com/Turanchoks/RulesByMe