Route Class

- Created routing class to handle exceptions and redirects.
- Created redirect method.