Create beam.py