Separate files in wmw_main