made the graphics class in a separate file

I am too scared to directly change the actual console.cpp so I made this
class in it's own file.