Implemented createTransaction
Implemented most functions