initialization of SDL move frome ctor to other place