fix folding/unfolding functions
Add Executor class, split code to logic and UI parts. System is broken=( Labyrinth's drawing works!!!)