The water wheel was used to power everything in the building