Created 2 classes for client and for server. Added constructors and some
methods.