Renames and transferstatification

* Renamed inputs and outputs for clarity
* Changed encrypt/decrypt into TransferStates to enable future failure handling