refactoring of old parts done
added gamepad configuration
needs new refactoring