modified application layer to use SDL2

input processor is currently broken