Add core system files

Core code scripts and the skeleton of a custom script.