More functional CMake version
Generating flex and bison files
Purgin unused files