Return a unique_ptr to transfer ownership.
Add MediaRes.
Add texture loader.