pubsub added
include template as closure
skeleton. 4 requirements filled