added first version of cmake wrapper