use DataTrait in PhpTemplate.
test the new phpTemplate.
fix some scripts as well.
remove old filter classes.
fix content filter, such as markdown.