Getting there... Add a storage package with various classes for managing the storage of data. Use JSON to store command codes, not yaml. I'll probably find out that using JSON for this is very slow, which would be annoying cause this took fucking forever, but oh well