Added KMotionX source

Added additional source code for execution on Linux and Mac OS X