Rewrote server and client to use SCS Library