Money changed to use scala classes