Python Classes and Libraries