Creates a simple class with just the main method, other regions are guarded.