Added LeaderState,AppendEntries and very basic client interaction