Moved matchall to match.h/cc and moved prettyDuration to a general useable misc.h/cc