Added cmake support
Updated unit tests and readme files