added first support for adapter class lib