refactor to use gson lib
add gson lib
change test package
add getRegisterAPIPath() method
add config
refactor to use getRegisterAPIPath() method for each type device