Started a module for extraction of a coarse module interface.
Moved head repair to a separate module, added documentation.