Basic SDL framework