Added comments for democore and demoprotocol