updated cmake configuration and readme