Rename display to renderer and move to its own file