Fix CCModel
Move model to CCAPI
Switch to code first and store model objects in CCCore