Improved publishing and more examples

Replaced /pkg directory infavor of tags and updated make publish to avoid
publishing dirty branch