WIP: stats ok, beginning db storing.