Validate the matcher_class and generator_class passed by options parameters in the constructor.
Remove the setRoutes. The routes has to be defined in constructor.