moving some controllers into a provider