simplify protocol
add docco docs generator