Add material controller to main app