Moved SDL input commands in to the graphics class. Cleaned up main.cpp.