Add cstructures.py for pestructure