add files upload for template
fixes #10
Merge remote-tracking branch 'origin/dev' into dev