add core_folding and core_snippet module