add pg-brain.coffee
add pg dependency