A simple class that permits quick lookups by key or index, and maintains an ordered version of the object (by keeping its keys in an array).