updated docs for factory to hopefully make it easy to understand

oh, and renamed it to createWrapper