Add Data Source
Rewrite tool base class adjust state api