moved assets controller into provider class