Added readme and moved example code into the readme.