Server CAP logic attempt 1
Merge branch 'master' of https://github.com/pstoica/CS3251-project-4