z axis endstop and x-end-motor migrated to freecad