started to add content selection handling in viewer, also changed ES config to use local host