Base on square'work, Cube - a system for analyzing time series data using MongoDB and Node, with some modifications