finish part of Program.java, which is the lowest level of server