move cache config init and plugin loading from event system to Core bootstrap