db.js

Added db.js, which abstracts a database/persistence layer (in this case, MongoDB).
main.js - "db" dependency
emr.js
main.js - Add EMR to Dependencies Container
authenticator.js

Added authenticator.js, which supplies the authenticator function, which constructs an object which can be used to authenticate users.
main.js - Add authenticator as dependency
controllers/api/login.js
controllers/api.js - Add controllers/api/login.js to Routing Table
serializer.js
main.js - Serializer as Dependency
controllers/api/user.js
controllers/api.js - Add controllers/api/user.js to Routing Table
controllers/api/appointment.js
controllers/api.js - Add controllers/api/appointment.js to Routing Table
controllers/api/book.js
controllers/api/appointment.js - Add controllers/api/book.js to Routing Table
controllers/api/getappointments.js
controllers/api/appointment.js - Add controllers/api/getappointments.js to Routing Table
controllers/api/searchappointments.js - Begin