Created new class that does everything to do with routing.