added fetchTemplate()
added $q
added broadcasts