added inputevent object, input queue, and beginning of inputmanager