checks the network connection at startup, added xml files, restructured code in MainActivity, added NoNetworkDialog