code mieux organiser (class + package)