Renaming Payment.type into Payment.direction

Also made some beautifications.
Adding a Payment.payment_date for the actual date at which the payment was paid