Added Transaction

Added Transaction to the package. Also started to work on Exceptions. Shouldn't the send method in factories throw exceptions (which are extracted from the response document) ?