Create a Reference class, and changed the main file to use the Reference class.