Simple database library for storing time-series data