Update transfer.php

Modify variables and constructor class