cleanup, introducing mgAppConnector in $https stead