Added Duration class plus some time utility funcs