initial work on Dictionary classes, and testing framework