moved ModHandler and BaseModule to lib/ksengine