doc strings added
interactive mode, dump to files