create module class avoid going fat Controller.

and, init function created.