Refactored configuration to support new DemandLibrary. Fixed AllocationsByDate endpoint