[REF] classFactory method with dictionaries

- Closes #1385
[IMP] Check better the dictionaries

- Added also documentation
[DEL] Deleted MaKaC.common.db

- See #1385