Stats-keeping added
Stats listing through /stats command now working
fix log setup, sql for stats table
more stats