improved yarp_init function with instantiation of many devices and read of
nested config files