Learning how to use mongoose in nodejs.
Threw in a main function.
Determine globalness.