nitial changes to integrate mongoose
refactored models to use mongoose; removed unnecessary lib scripts; simplified files
Merge branch 'mongoose-conversion' into dev