Updated the while true loop keeping app alive to use console.readKey
Changed console.readkey to readLine