add factory to client;

rectiliner polygon division for 1 agent