move StoredSession into its own file
add pay function in the command line
split balance refreshing into separate function
add support for clearing transactions