start refactoring into lib
listen for stream of viewer events
add polling test
move test files, add AIM pinger test
call remote_action
update test.js after moving files
REFACTOR: rename