Converted several methods from public to private for security
Implemented the Flush function in SogamoAPI. Also created the corresponding tests for it. Various tests in SogamoTest now also measures execution time.