initial commit for db operations for pool and account, all operations are working properly besides updatePool() that should be implemented