Start off code.

I'll do more of the API stuff in a bit, i'm still working through CA so I understand this more.