Green Party wins leave state, town officials scrambling to accommodate them