Transform BuildMap into a singleton

Signed-off-by: Frank Mertens <frank@cyblogic.de>