Add support for storing log filenames and timestamps, and a bit of refactoring of the time utilities into it's own file