working line tool under new tool inheritance scheme... now migrating rectangle tool