Initial Test Code

implemented some very basic keyboard and mouse input events.