bring in the methods for server and client, moreover, create comment block for each class, functions so that it is easier to find it