Bug and logic fixes, Major overhaul
-Added custom query
-Changed config structure
-Moved query object handling into yad class