Add tree structure for sensors and actors