moved templates to models folder (#17)