Changed the route array to an actual class, updated tests and README