Refactor to allow for a multiple result set processor in the future. Hopefully sooner than later.