Remove typedef for SmartPtr
Add some comments about owning the commandserver instance