Refactored GraphFrame init function.
Fixed a bug when opening a new graph from file that sometimes reverted to the previous graph
Refactored Config.java, removing unused imports

TODO: Fix visualization bug when opening a new graph (when sliding screen or scrolling might causes glitches in the graph frame and not correctly updating)
TODO2: Fix getResource() problem not finding files when running the program outside an IDE after deployment.
Fixed visualization bug when opening a new graph.

TODO: Fix getResource() problem not finding files when running the program outside an IDE after deployment.