add the scratch
of the currency class
with the factory design pattern