Moved reconstruct func to utils and restructured

Alg functions now in algorithms module
param handling now done with function as argument

much restructuring/streamlining