Inv package

Still unstable because commands won't work, but more complete.