c: package template creation added. This closes #3