Library initialization