Use int64_t as a time type
Put Object class in object.h/cpp