Custom currencies support

Support for custom currencies added.