initial keyboard and event listener