splitted files, added templates for demo