head/board/cell cloning; add function execution context
starting to support function calls: first implementation and refactorings