Refactoring and testing the oauth proxy script. Also removed
config/index.js from tracking.