implemented route class