add psi.coffee and test