Refactored some methods classes ExpenseDAO, ResultDAO and RevenueDAO