fixes #35
* Persitance of transactions and portfolio to database