Created classes for tokens and rewrote parse_transaction