properly implemented the getControllerClassNameFrom method