A component system in python