Initial code copy from Windmills. Test run and doc build are successful.