add ui bridge file to stub out
move to globals for RPCs
refactor publication commands
early start on subscribe functionality