Fixed not being able to access static function
The static function such as subtract
or add
wasn't accessible when they are VendNumber
class static function. Moving and exporting these functions outside the class allows us to use these function.
Also keeping the static function in the class to avoid breaking any existing usage