Stable beta version

- Initializing global variables done in run/main.c
- Tested on query file
- No open bugs at this point