initial commit -- fixed this and made it work with mongoose >= 3, changed the jade files, and fixed some stuff that has changed in node.js too... basically it works again.