Moved all complex mesh creation to mesh module