Add subtraction feature to api, close #7