added first (EARLY) draft of API docs. Not ready for use yet.