Basic structure of executeJoin() finished. Problem with unique_ptrs.