First working commit of maprdb format plugin