Reorganizing kvstore sources and switching build system to CMake.