Remove all quality category from code and replace it by code generated by gen_ws_cat.py