Added template for sdl demo