new sequelize models and time series page improvements