Create Timestamp class.

This takes over from the utils/timestamp.hpp helper functions. Closes #5.