Create Router and Route classes