Developing Foundation Models for Time Series Analysis