Added support for cmake, and updated README file