Do not import system in core __init__

system.py reads the config and creates a global variable based on
it. But when importing the core the config is not loaded yet.