I haven't seen your code, but using lots of Singletons is usually a code smell.
> Learn a bit about microservices and RESTfull stuff and you might begin to see the light, about how a browser can consume an API that sends back JSON DATA rather than rendered HTML. It's the future.
RESTful APIs are great but you are 10 years late to the party.
Using RESTful APIs is exactly the same thing web services were back 15 years ago with XML.