replacing single file with templates (now version 0.1.1)