Deleted TransactionType and refactor the other package