Moved all kansas-comet specific code in an appropriate module.
... and here the module itself.