When you inherit WEL_APPLICATION, you will need to implement the deferred feature main_window as a once function. This will be the main window of your application, and can be any descendent of WEL_COMPOSITE_WINDOW.
Note. See step2 in the tutorial for a simple demonstration of how to do this.