Seperate renderer into it's own class. Preparing for UI rewrite

Fix some format tags, and prepare for font and image uploads