Copy base classes to Yomiko2.py