move all db methods to property