basic debug structure and deviceready event usage, works as long as wireless is fully configured and gateways configured'