persistently store pixel events when device is disconnected from wifi
automatically start flush timer when stored events are present
modularize individual http requests
update test app ui