Finished implementing TransactionManager, updated Middleware, and
ResourceManager.