Set up framework for asynchronous wating for users next input