Added CMake files
Added error code parameter to easy API wrapper functions
Use native share error code function
Updated README.md file