Added example template file, wrote more docs.