Save stats refactored
Mysql connection works after moving config to searchntalk