implemented cache tree without having to use Apps

Relation graph data structure on Options now
Pro: self contained in Options
Con: personally, quite messy + more memory usage and extra o(n) loop of lists