Removed templates from MonetaryAmount, added factory.
Creates SPI for logging.