reorganizes localnet global variables
adds a published bool flag to each db record to indicate whether it has been sent to the web app or not