Started work on generator

Config class and basics text handling class for generator.
Legalese in CMake files

Added copyright and license notices to CMake files.