Moved non interactive functions to their own file.
Renamed main.
Finished writing options code.