Added ability to change the template of the content selector, extracted the hardcoded one in a new template