add statistics module
Renaud's queries finished (no test)