Extract code from Ancient Trees project
Add wrapper and metadata for FML