Had a new idea, clean up the workspace and separate things out. Turn projects to be opened into a new class of type project, work in progress.
Added an attr_accessor so variables for the class can be accessed externally and added reference to the class in the main file.