Modularize preprocessor
This is an intermediate step towards #65 (closed) Goal: extract the mesh / lattice generation functionality from preprocessor into an own library. The library should be testable and shall be used to generate meshes to test other features (e.g. #66 (closed)).