Add functions to readme

Add the api for the functions in the readme so people can read it from online.
Merge pull request #1 from lukecfairchild/patch-1

Add functions to readme