initialize library