Added abort API

created remove_transaction()
initiliazing T[]