Updated dependencies
Split persistence logic out into its own file

Also moved transaction/journal to domain file