add getCurrTarget function that return current target object

Related to #26