A framework for the construction of level set methods for shape optimization and reconstruction | Synapse