add Logger class
delete assets when the RenderDevice is destroyed