remove view config, plugin traits and route config