Made a lot of changes reflecting the new code. Not finished yet.
Updated Api v2.0 (markdown)
Updated Core (markdown)
Updated Messaging v1.x (markdown)