replaced ptr with observerptr (=>removed new)

observerptr now convertable to bool (similar to unique_ptr)