Should I keep all my code in the main method?