Moved consensus algo to separate 'pyconsensus' module