added return object inside of function

Returning this object allows access to all the internal methods. When
creating controller, pass the helperFactory. All of the methods will go
inside controller