Adding transaction class