added net logic back; switched to models/models.js for the other objects