Change the way to create controller.
Create dist.