fixed bug in findMatches(), refactored withdraw() with promises, renamed variables, removed unused keys from angular.repeats