Implemented track execution decorator

Finished implementing the track execution decorator with an optional threshold parameter.