Make Rstudio project
Remove old substitute c code
Convert promise.c to C++
Add address function