moving ops.py to a separate directory