Add API routing classes.

Change-Id: Ib22fb96cab350c086cd0a0355bd7dac59515ef51