Added base for the SDL interface.