Implement "Encoder" class. Its internal processes are implemented in each quantizer and drawer.