little optimisation on flood4 method, free line method (d) added to command line api, s added to end of all methods in cl api
load and save methods added