Moving from user to statistics class

* This fetches all users and joins with shares table

Should speed up things a fair bit.