update ship api; add ship api descriptions
add def
add id->map state