key class
added basic key input
testing input