app setup
receiving and pushing data
receiving messages from the browser and pushing it back