Transaction Added

A transaction was added to the model and success and failure views now
part of the controller