Create MGObjective.java