Updated statlogger, got input/output done,