Implemented and tested region manager. Closes #236.