Updated server program to simplify concepts