Refactor stats handling
Refactor stats and project structure

Flatten the projct again, and refactor stats to use a channel system