Change inventory storage to Yml (less bugs)