removed makefile and added cmake configuration