Modified mapper so that it will allow you to extend the mapper and use
different databases when using the static method setDatabase()