translated to coffee, made API more verbose, added phantomJS script to automate web-based authorization (WIP)