revised a lot of stuff, log rootation done, add start stop time, prog version to logs[A