We must initialize the library our data will be thread-safe and to initialize the exceptions system.
After work with library is finished we are to get free all the memory which was used by the library.