Moved to lib
add domain field
fixed cache path
done ( err ) will log.
Detect if page is empty
Moved error handling to app.js
Add ajax route. Cleaned up. Better error handling.