How can I create a Python list to add and remove structs? - Modular