added an initial cocoa input manager class, needs more testing with keyboard input though