init spcore