Brainerd to rewrite zoning code, puts moratorium on changes