Organizando classes server e client