Added 'consensus' mode

Changes made in __main__