refactor on meal provider class