added pre filter for template.
added content filter; to apply filter based on template file extension.
removed obsolete Template.php file, also removed from scripts to require it.
added php-markdown as required package in composer.json.