Cut the primitive file in two in order to make a library asable by the other parts of the pacemaker module. Plus created a module to manage the propertys.