adding debug option to MainServer
MainServer now reads json from info.json