improve setup.py and Tools.__init__