added main cmake file, cmake file for modules, and cmake for libtools