Abstract Server and Client in one jar (school exercise)