Added keyboard support to control application