Changing usual jdbc connection for BoneCP connection pools.
Refactoring of DaoFactory class