moving lib to library