fix to get ctive templates using filters
template object refactored to clean up a bit redundant methods