Move stats into subpkg

This will help if we want to version the api in different sub pkgs of server, we still have a single instance of the counters. 

`server/v1/api.go`
`server/v2/api.go`