Usefull tools and Python classes