cosmetic cleanups (mvoing from file to file) code in SharedPtr<> module