12/7/14 changes

Added code. Still having problems with redirect uri. Using custom scheme I get stopped by an error. Using http:// I can get through to the code but can't exchange for token.