api updates
adding stats model
calling model for api
adding sockets back to server
adding socket emit