Refactor|libdoomsday: Encapsulated the DED parser into its own class