This adds the filewatcher and forwards events to the frontend. It also sets up the widgets as something that can be controlled with a config file.