Added folder for stats stuff, updated main.py to know this
removed pages.py from this directory
Added a local version, made stats actually a module