rename method request* to query* in Device class
add capability codes
implement pin capability query