Implemented duration parsing module