Oauth2 Server initial implementation and code cleanup.