Implement location mapper as stand-alone helper class

with own db connection.