Hmm... this is not a typical Code Review answer, but, if written as: "Your code is one big main method - you should extract logic blocks in to functions to make the code more readable and reusable", then it would be great. Oh, it's really close to that, so it's an answer. —
rolfl ♦ 2 mins ago