Changed DBEntry to use maps instead of TreeSets