Refactored transfer and deposit controllers