Improved Db class
Implemented Effects