Added clean script
Updated addComponent method : using given name