createLib