Created a helper class to handle static tasks for the oauth server
Fixed self reference in helper methods. Removed static methods from server.