First commit of API doco