add APIException class;
start documentation;