working on chrome extension
import exception stuff from restful framework