Moved options functionality from pyfi.py to options.py