Added WriteObjectives.java and fixed a few other classes.
Added WriteOrganizations.java