added cmakelists
added default cxx flags