add discover capabilities to main.py modify mobyle config for the tests