Refactor live.coffee
Add LiveAgent API