moved the skeleton application class in the library, added some keyboard support

moved the skeleton application class in the library, added some keyboard
support