Added belongs_to :state in Agency model