added the cli interface for multigrid