algorithmManager = new AlgorithmManager(this);
animationController = new AnimationController();
graphHandler = new GraphHandler(this);
treeHandler = new TreeHandler(this);
handlers.put(GRAPH, graphHandler);
handlers.put(TREE, treeHandler);
// Make sure to create all objects at least, before initializing