Created the correct setup for the querys, they are used by the responses. No real OOP used just a basic API