create models
install device
generate device