Made inventory class

Also updated the commandline to reflect new inventory class.