Quite massive move query only functionality into QueryTab class
Optimize Imports
MainMenu class