Migrated to new database structure

I had the choice between either making an ember adapter to talk to yii better, or installing a yii component to talk to ember efficiently. Ended up going with the ember adapter.

- allows us to stick with vanilla Yii. Since Yii is outdated, I am
  hoping it makes it easier to replace down the road
- Also pushes my understanding of emberjs