refactoring for Array
removed CArray from source files of sdl2 module