Refactored models.js to be in it's own models directory. Also refactored...

... to define schema and model locally but to expose those definitions via the module. This allows for single time compilation but many time access. Also left in commented code for how to do this in a more object based way but after looking at it seems unnecessary and cleaner this way.