Refactored BusinessRules

Refactored the transactions into single purpose classes. The transaction
classes are contained in a Models namespace; rules in the BusinessRules
namespace; and repositories in the Repositories namespace.