Setup general core functions file