update README and improve cmake configuration

I've written down a basic README and improved a bit the cmake configuration.  What do you think about it?