Removed class Territory_state, and added methods in class Territory.