Changed to a WPF project and added mouse- and keyboardsensor