oz first commit

1. changing re to 1.8
2. fixing security bug in db manager for sql injection
3. adding the statistics basic thingies