Fix Maven stuff, command handling.
Restrict inventory names.
Merge pull request #1 from Dumbo52/master

Restrict inventory names.