added team resource.
added api doc.