Improved build for systems without a g++ with C++11 support.
Added a lot of documentation.
Using standard type for status codes. Improved data conversion.