query class now dynamically bulids sql and returns DB data. Basic- no where clause