Added Duration class (#4)