More changes to the frame and console

Started replacing locations of the directory with a variable
Final commit before overhaul