initial subscription controller and defined constructor function