Added auto registration for controllers (api and mvc)