Implemented Transfer.java class