Refactored accrual dao into some helper classes