Refactored utility code with launch methods instead of using static methods