First pass db for stats.
Stats are now written to db.
Move lgpl license.
Add initial tests for stats.
Remove moderation for now.