Idaho city moves toward flexible green residential building code