Added adding function for transactions
Extension of transaction adding function
First tests regarding transactions