split app into separate module
add CORS support - #1
add JSONP support - closes #1