adding first bits of api docs.