rewrote README and updated template files