shifted to cmake and some progress in reconstruction