structure for votes collection, client side templates and listener events