added initial version of API documentation, although it's very 'cuo'