Add currency library as class using module.exports