added a lifetime component for automatic removal of eg projectiles after t seconds