db: initial LevelTsdb implementation