Added window subsystem and debug subsystem, also switched to SDL2