making new class to handle client data