started networking, created mainloop for application instance