First commit to add sdl support
Sdl alpha finished