Initial import from core Nutshell repo