Updated readme with prospective examples, and changed template files to be PHP defines