Simple account manager written in JAVA