Refactored snapshot.c, added server & client code