Replaced Fold with FoldIn & FoldOut

- added FoldLayout
- TODO: comments for FoldIn FoldOut