Begin work on server logic

Begin work on the server logic starting with the AppendEntries RPC.