Hooked up API calls to MongoDB. API format described in README.md file.