major wip refactor involving using proper jdk dates, using sql query enums, breaking down the accruals layer, adding support for limit clause in oracle queries, and more. Not tested yet and accruals are broken at the moment.