CMake build system improved. Sample code updated.
Installation instructions in INSTALL.txt updated.