Add userInterface and key reading