Some base code

- Add preliminary code for user ranking system