API Server for storing and graphing real-time time-series data in MongoDB