Added basic framework, messaging, leader election.