C++11 2D game framework using SDL2