Modularized it a bit

Now has different methods for checking domain and certs

Still need to add error checking for timeouts on certs but not a huge issue as the entries you add should connect.

Should also add ability to cache for 30 days (for testing purposes)