Creating routing classes