Updated key_code.h.
Changed build system to the cmake.