add callback function to gateway
.gitignore
add app