adding paypal model class and more generic classes