Fixed compilation error and added doc

The doc explains how to run the project .