Code Quality Increased

Add: queryOrders.php is added to query current orders and return them
with JSON.
Modified: Using JSON to get orders, instead of previous awful method.