added function for using .md files fro theme/content in templates
Updated readme
Updated phpdoc