Create opm.py

First cut