add some documatation for controller, router, and view