Datamodel

Finished basic CoreDate model setting with linked controllers. Merge datamodel branch with master.