New api: generate mappings from a descriptor object

Not ready to merge
we can also ping on localhost or without SSL