python class init ; setattr and relative import