added tsdb interface
added storage query interface