Improves folding, symbol flexibility

List looping and folding still needs work to be integrated with
functions