Implemented 'Do In Transaction' pattern, created 'DBQuery' classes.