Update api.md with lifecycle.md and transport.md