** Moved Material into a method paramater in HtmlMaterialFieldController
** Minor code cleanup
** Removed unused imports