Revert "The first parts of the mod code"

This reverts commit 0dfaf2d53c0714784669060139080fd933a474cd.