added SDL basic functionalitet