angshu | introduced inner classes for all db calls to use AFTransactionWork