use new typescipt class for controller