commit the changes for deposit and transfer

The module will use entity api now.