added create library in api
added create library in api