Refactor donation objects and submit_donation.php