Implementing material package artifact versioning.

Tests and examples to follow.