Generate speed logs files, Code organization