Add a simple PrefMap class for basic k/v stuff