Wrapper of TSDB API implemented. Now intensive testing is to be performed.