Modular framework for 3D Surface reconstruction