Creation and deletion of goals now fully implemented.