[autodiscovery] added basic autodiscovery class + first sample test;