Added code that vaguely resembles 2D graphics stuff