hooked up the front-end stuff to save the new transaction
implemented functionality to read models from json