stats api models
changes for the client keys branch stuff