Refactored Money class