implement hook_init to load library