Saving instances for shipments and related movements, basic tests and validations

Pls check
much better, and tested!