Restarted the clone project. It will be further expanded.
I want to make the graphic output optional: using Graphics32, OpenGL or DirectX.

Two questions:
1) How can I handle this?
2) What is the best place to handle input (mouse, keyboard).

I'm really stuck a bit. need some advice

And I really need a good example of OpenGL 2D animation.