Started Adapting EO (Not Finished)

Will contain errors, and is unrunnable. I will fix them tommorow.