Remove API keys into config file. Remove some debugging code.