Pass core to models etc