Finished adding code for Bluemix interaction.