added powertool command, and api