Simple SDL application framework