Adding some ext to braintree models to remove some duplications; Some code refactoring