Refactor test app project
Add keyboard
Support keyboard for Cocoa