Made Keyboard Input modular and cleaned Bitmap code