max changes, packet refactorings, relations and much more