Revert "Revert "added base with sdl""

This reverts commit 88a288a34f5b98668e0d88eacf293697e863b9f4.
Revert "Revert "Revert "added base with sdl"""

This reverts commit f2b6414f2e60256c4c53ae3df52c7ee630ced0de.