Added networking facility to rectangle tool