modified banking example to make it more practical and fixed local state storage file naming bug