add init libglinked and deinit of libglinked