Code for BYU CS 462 Large-scale Distributed System Design