Feature/transactions

See #37