Added a transaction template

Added a transactional template