1. The software is designed for A to control B to do sth.<br/>or<br/>2.The software is designed for A to do sth by controlling B. <br/><br/>I think 2 is better.