added support for appending to results file
added support for appending to results file and added Rate to result struct