Introduce base controller and enable live-reload for dev environment.