Move inventory to actors directory, change function names in inventory and comment inventory