create net class for client