Weak ptr (closes #121)

Yes, that should be changed but since I wanted to start a discussion about the general implementation strategy with std::shared_pointer, I postponed this.