Make a quality product. Municipalities that choose to do their own composting provide a valuable service that goes beyond waste disposal. Don't reinvent the wheel. There is a wealth composting experience in Maine. Some sources of assistance are available at no charge.
Trash needs to be kept out of the piles as well.
Type IA piles are the easiest kind for municipalities to manage for several reasons. First, the materials are normally collected separately from other types of waste. This means that there is less risk of contaminants being added to the pile. Second, it is easy to avoid odor problems. Third, the state permitting process is relatively easy and the composting process requires little maintenance.