add ipanel-master and ipanel-slave classes