* Refactor share redemption code into a few sensible functions * Put very general share redemption code into common