split ws_all_funcs to 3 files