added form and functionality of adding slaves to master