add API doc and ReadMe doc

Signed-off-by: unsalted <nick@unsalted.nu>