Moved flashrenderer to its own class