Adding a lot of code needed to connect the core instances together.