Remove dead code
Optimize variable storage by using two maps rather than linked list structure.
Optimization of strategy state to use the dual map structure instead of linked list structure.