Refactoring.

class => module
Revive the route's option