The big rewrite

- removed classic way of file writing
- added GD (Global Data) class
- added global GD vectors for storing data
- reformatted writing
- reformatted printing
- reorganized global config file