DW: Recursivley replaces the slash with underscores
DW: Added doc string
UK: add sql timing middle ware