The module implementation is now contained in one file. This makes it easier to see which parts depend on each other.