Added code to synchronize points, added a header for the static ids