integrate basic working version of cmake.
include general Makefile for easy cmake build.
remove obsolete Rakefile.