added Objective package with TestObjective class
fixed minor bugs : )