expose card library in API