Added code for getting task history..yet to do an end to end testing for getting history.
Updated for dev environment