Fix for create xml for inventory and move function to toolbox class