initial version of new c++ implementation
rename the main file
Initial working version for the redone c++ implementation
Minor doc updates