added very primative routines to save a password to a file and then retrieve it again
started adding some basic unittests. not yet complete