Also update publish script and move URLS to .env file
All named constants used inside classes have been deprecated and must now be set from method calls, class init, etc