[warfare] Creates a Main class and organize the code.