refine the API
refine API
Device API

add Get Device API