An idea I had for a thread that could be run in a large scale program. It stores a set of tasks and solutions for those tasks. Instead of creating a mess in the main file, you can use this to handle your decision making.