Adding in the Api class

Signed-off-by: RJ garcia <rj@bighead.net>