Public functions
Initialize the library with the given configuration.
Clean up all resources held by the library.