Template fucntions for directory creation
Merge remote-tracking branch 'upstream/master'

Conflicts:
	dir.c
Merge pull request #6 from octabrain/master

Template for all directory operations