Router and Rule classes created.

Router will get comments at some point.