Change shared_ptr to unique_ptr.
Move some includes.