After working a bit more in the work-points script I realized that is obligatory to have origin work-features, as origin of coordinates point, X, Y, Z axis, XY, XZ and YZ planes.
A screenshot to clarify:
The colors of the axis are to distinguish them, and the origin work-planes colors are different from the future user-created work-plane colors.
Everything is ordered in the tree-view by name and invisible by default:
I'm trying to figure how to use Github, I think I have posted the code here
To use it, with a part or new document opened, copy-paste the code, that's all.