add function course
update template and courses model`
Merge pull request #1 from pchaow/development

Merge development to master