Add wait time computation
Add makefile