Leaks again
Manager added to fix leak
unique_ptr
WIP
Functions taking objects or refs