Setting up Core