dclass: Reorganize code modules.