Renamed library submodule
Starting work on the refactoring.
Updated library. A lot of work on some of the GUIs.